package com.cn.scenario.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.cn.scenario.entity.AppUser;
import com.cn.scenario.entity.Product;
import org.redisson.api.RBloomFilter;

import java.util.concurrent.ExecutionException;


/**
 * @Author Boolean
 * @Date 2022/12/22 17:14
 * @Version 1.0
 */
public interface AppUserService extends IService<AppUser> {

    AppUser getAppUserById(String id);

    Boolean addAppUser(AppUser appuser);

    Boolean updateAppUser(AppUser appuser);

    /**
     * 清空 布隆过滤器中的数据，然后重新添加
     * 删除后，重新添加
     */
    void refreshBloom() throws InterruptedException, ExecutionException;
}
